package com.laiketui.order.api.params;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laiketui.domain.vo.MainVo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
public class OrderParentListParams extends MainVo {

    /**
     *  {@link com.laiketui.order.api.enums.OrderParentStatusEnum }
     */
    private Integer status;

    private String orderParentNo;

    private String userId;

    public Integer orderType;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date endTime;
    //配送类型 1 15天内将发货 2 7天内将发货
    private Integer deliveryCategory;
    //搜索关键字
    private String keyWords;


}
